<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>自我介绍</title>
</head>
<body>
<script>
    function partent(name,date,age,NativePlace){
        this.name=name;
        this.date=date;
        this.age=age;
        this.NativePlace=NativePlace;
    }
    var  rong1=new partent("海大大","1999年12月31日","21岁","中国云南")
    console.log(rong1);
</script>
</body>
</html>